package com.client.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 帖子点赞记录表
 * </p>
 *
 * @author ckick
 * @since 2025-09-20 08:28:54
 */
@Getter
@Setter
@TableName("forum_likes")
public class ForumLikes {

    /**
     * 点赞记录ID
     */
    @TableId(value = "like_id", type = IdType.AUTO)
    private Integer likeId;

    /**
     * 被点赞帖子ID
     */
    @TableField("post_id")
    private Integer postId;

    /**
     * 帖子作者ID
     */
    @TableField("author_id")
    private Integer authorId;

    /**
     * 点赞者用户ID
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 点赞时间
     */
    @TableField("created_at")
    private Date createdAt;

}
